Params_pre = defaultParamsPre();
Params_pre.usePCA = true;
Params_pre.nPCComponents = 25;

Params_nn = defaultParamsNN();
Params_nn.eg = 0.0001;
Params_nn.display = 1000;

Persons = 2:2:40;
runFR(Params_pre, Params_nn, Persons);
writeNumberErrors(Persons)

%vysledek: 
%   Columns 1 through 11
% 
%   100.0000   99.5000   99.3333   98.5000   98.6000   99.8333   97.4286   97.0000   98.4444   98.1000   98.4545
% 
%   Columns 12 through 20
% 
%    97.3333   96.8462   96.2857   96.6000   96.1875   95.7059   95.7778   96.2632   95.4000
